GeanyKeyBinding

Represents a single keybinding action. * * Use keybindings_set_item() to set.

Members

Variables

callback
GeanyKeyCallback callback;

Function called when the key combination is pressed, or @c NULL to use the group callback * (preferred). @see plugin_set_key_group().

cb_data
gpointer cb_data;
Undocumented in source.
cb_data_destroy
GDestroyNotify cb_data_destroy;
Undocumented in source.
cb_func
GeanyKeyBindingFunc cb_func;
Undocumented in source.
default_key
guint default_key;
Undocumented in source.
default_mods
GdkModifierType default_mods;
Undocumented in source.
id
guint id;
Undocumented in source.
key
guint key;

< Key value in lower-case, such as @c GDK_a or 0

label
gchar* label;

Label used in the preferences dialog keybindings tab. * May contain underscores - these won't be displayed.

menu_item
GtkWidget* menu_item;

< Optional widget to set an accelerator for, or @c NULL

mods
GdkModifierType mods;

< Modifier keys, such as @c GDK_CONTROL_MASK or 0

name
gchar* name;

< Key name for the configuration file, such as @c "menu_new"

Meta